package cn.gok.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Course)实体类
 *
 * @author makejava
 * @since 2022-03-29 19:35:37
 */
public class Course implements Serializable {
    private static final long serialVersionUID = -76356426844183606L;
    /**
     * 课程编号
     */
    private Integer couId;
    /**
     * 课程名
     */
    private String couName;
    /**
     * 开课时间
     */
    private Date starttime;
    /**
     * 上课地点
     */
    private String place;
    /**
     * 最大人数
     */
    private Integer max;
    /**
     * 已选人数
     */
    private Integer num;
    /**
     * 任课教师名
     */
    private String teaName;
    /**
     * 任课教师编号
     */
    private Integer teaId;
    /**
     * 课程状态，1：还未开始，2：进行中，3：已结束
     */
    private String state;
    //课程简介

    private String desc1;

    public String getDesc1() {
        return desc1;
    }

    public void setDesc1(String desc1) {
        this.desc1 = desc1;
    }

    public Integer getCouId() {
        return couId;
    }

    public void setCouId(Integer couId) {
        this.couId = couId;
    }

    public String getCouName() {
        return couName;
    }

    public void setCouName(String couName) {
        this.couName = couName;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Integer getMax() {
        return max;
    }

    public void setMax(Integer max) {
        this.max = max;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName;
    }

    public Integer getTeaId() {
        return teaId;
    }

    public void setTeaId(Integer teaId) {
        this.teaId = teaId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Course{" +
                "couId=" + couId +
                ", couName='" + couName + '\'' +
                ", starttime=" + starttime +
                ", place='" + place + '\'' +
                ", max=" + max +
                ", num=" + num +
                ", teaName='" + teaName + '\'' +
                ", teaId=" + teaId +
                ", state='" + state + '\'' +
                ", desc1='" + desc1 + '\'' +
                '}';
    }
}

